package com.example.demo.entity;

public class Ward {
	private Integer id;
	private Integer bednum;
	private Integer department_id;
	private Integer state;

	
	public static String[] states= {"空闲","占用"};
	public String getStatename() {
		return states[state];
	}
	
	private String department_name;
	public String getDepartment_name() {
		return department_name;
	}
	public void setDepartment_name(String department_name) {
		this.department_name = department_name;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getDepartment_id() {
		return department_id;
	}
	public void setDepartment_id(Integer department_id) {
		this.department_id = department_id;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public static String[] getStates() {
		return states;
	}
	public static void setStates(String[] states) {
		Ward.states = states;
	}
	public Integer getBednum() {
		return bednum;
	}
	public void setBednum(Integer bednum) {
		this.bednum = bednum;
	}
	
	
}
